﻿namespace AutoBackupDatabase.BLL
{
    using AutoBackupDatabase.ENT;
    using System;

    public class EXPORTBLL
    {
           private EXPORTDAL expDAL;
           public EXPORTBLL()
           {
               expDAL = new EXPORTDAL();
           }

        public int ISTABLEHAVEGUEST(int tableId)
        {
            return expDAL.ISTABLEHAVEGUEST(tableId);
        }
        public bool UPDATEVATSERVICEDISCOUNT(EXPORTENT ent)
        {
            return expDAL.UPDATEVATSERVICEDISCOUNT(ent);
        }

        public string GETNUMBEROFEXPORT(int tableId, int empId)
        {
            return expDAL.GETNUMBEROFEXPORT(tableId, empId);
        }

        public bool ADDITEMTOTABLE(string exportID, int itemId, int quantity)
        {
            return expDAL.ADDITEMTOTABLE(exportID, itemId, quantity);
        }

        public bool PAIDBILL(string expId, DateTime datePaid)
        {
            return expDAL.PAIDBILL(expId, datePaid);
        }

        public EXPORTENT GETEXPORTBYEXPORTID(string ExportID)
        {
            return expDAL.GETEXPORTBYEXPORTID(ExportID);
        }
    }
}
